﻿using System;
using System.Collections.Generic;

namespace CallGraphExtractor
{
    public class SubresultEventArgs<T> : EventArgs
    {
        private List<T> pSubresult;
        public List<T> Subresult
        {
            get { return pSubresult; }
            private set
            {
                if (value != pSubresult)
                    pSubresult = value;
            }
        }

        public SubresultEventArgs(List<T> subresult)
        {
            Subresult = subresult;
        }
    }
}
